package com.order.domain.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class UserInfo {
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("用户名 最长10个字符")
    private String username;

    @ApiModelProperty("姓名 = 院校 + 姓名")
    private String name = "";

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("性别")
    private Integer sex;

    @ApiModelProperty("头像")
    private String image = "";

    @ApiModelProperty("类型 0教师 1学生 2管理员")
    private Integer type;

    @ApiModelProperty("学历")
    private String degree;

    @ApiModelProperty("简介")
    private String remark;
}
